package idv.loveloser.dao;

/**
 * AbstractMdlSessions entity provides the base persistence definition of the
 * MdlSessions entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMdlSessions implements java.io.Serializable {

	// Fields

	private Long id;
	private Long state;
	private String sid;
	private Long userid;
	private String sessdata;
	private Long timecreated;
	private Long timemodified;
	private String firstip;
	private String lastip;

	// Constructors

	/** default constructor */
	public AbstractMdlSessions() {
	}

	/** minimal constructor */
	public AbstractMdlSessions(Long state, String sid, Long userid,
			Long timecreated, Long timemodified) {
		this.state = state;
		this.sid = sid;
		this.userid = userid;
		this.timecreated = timecreated;
		this.timemodified = timemodified;
	}

	/** full constructor */
	public AbstractMdlSessions(Long state, String sid, Long userid,
			String sessdata, Long timecreated, Long timemodified,
			String firstip, String lastip) {
		this.state = state;
		this.sid = sid;
		this.userid = userid;
		this.sessdata = sessdata;
		this.timecreated = timecreated;
		this.timemodified = timemodified;
		this.firstip = firstip;
		this.lastip = lastip;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getState() {
		return this.state;
	}

	public void setState(Long state) {
		this.state = state;
	}

	public String getSid() {
		return this.sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getSessdata() {
		return this.sessdata;
	}

	public void setSessdata(String sessdata) {
		this.sessdata = sessdata;
	}

	public Long getTimecreated() {
		return this.timecreated;
	}

	public void setTimecreated(Long timecreated) {
		this.timecreated = timecreated;
	}

	public Long getTimemodified() {
		return this.timemodified;
	}

	public void setTimemodified(Long timemodified) {
		this.timemodified = timemodified;
	}

	public String getFirstip() {
		return this.firstip;
	}

	public void setFirstip(String firstip) {
		this.firstip = firstip;
	}

	public String getLastip() {
		return this.lastip;
	}

	public void setLastip(String lastip) {
		this.lastip = lastip;
	}

}